import { createApp } from 'vue';
import { createPinia } from 'pinia';
import App from './App.vue';
import router from './router';
import components from './components';
import Antd from 'ant-design-vue';
import 'ant-design-vue/dist/antd.css';
import 'ant-design-vue/es/message/style/css'; //vite只能用 ant-design-vue/es 而非 ant-design-vue/lib
import 'ant-design-vue/es/notification/style/css'; //vite只能用 ant-design-vue/es 而非 ant-design-vue/lib
import '@/styles/index.less';
import '@/mock/index.cjs';

// import components from '../vue3-components-ui/lib/vue3-components-ui.mjs';
// 注意一定要引入样式
// import '../vue3-components-ui/lib/style.css';

createApp(App).use(router).use(createPinia()).use(Antd).use(components).mount('#app');
